<div class="navbar navbar-fixed-top">
    <div class="navbar-inner main-nav">

        <a data-target=".top-nav.nav-collapse,.sidebar-nav.nav-collapse" data-toggle="collapse" class="btn btn-navbar">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
        </a>
        <a href="__ADMIN__" class="brand"> <span>Admin </span></a>
        <ul class="nav">
            <li class="divider-vertical"></li>
            <li class="App-Index"><a href="__ADMIN__"><i class="icon-home"></i> {$Think.lang.common_index}</a></li>
            <li class=" App-Product"><a href="__ADMIN__/Product">{$Think.lang.common_product}</a></li>
            <li class=" App-News"><a href="__ADMIN__/News">{$Think.lang.common_news}</a></li>
            <li class=" App-Article"><a href="__ADMIN__/Article">{$Think.lang.common_article}</a></li>
            <li class=" App-Promote"><a href="__ADMIN__/Promote">{$Think.lang.common_promote}</a></li>
            <li class=" App-Category"><a href="__ADMIN__/Category">{$Think.lang.common_category}</a></li>
            <li class=" App-Feedback"><a href="__ADMIN__/Feedback">{$Think.lang.common_feedback}</a></li>
            
            <li class=" App-Advert"><a href="__ADMIN__/Advert">{$Think.lang.common_advert}</a></li>
            <li class="dropdown">
                <a href="#" data-toggle="dropdown" class="dropdown-toggle"> <i class="icon-envelope"></i> {$Think.lang.common_email_center} <b class="caret"></b></a>
                <ul class="dropdown-menu">
                    <li class=" App-Email"><a href="__ADMIN__/Email">{$Think.lang.common_email_manage}</a></li>
                    <li class=" App-EmailConfig"><a href="__ADMIN__/EmailConfig">{$Think.lang.common_emailconfig}</a></li>
                    <li class=" App-EmailTemplate"><a href="__ADMIN__/EmailTemplate">{$Think.lang.common_emailtemplate}</a></li>
                    <li class=" App-EmailTask"><a href="__ADMIN__/EmailTask">{$Think.lang.common_emailtask}</a></li>
                    <li class=" App-EmailTaskList"><a href="__ADMIN__/EmailTaskList">{$Think.lang.common_emailtasklist}</a></li>
                </ul>
            </li>
            
            <li class="dropdown App-Careers App-Apply">
                <a href="#" data-toggle="dropdown" class="dropdown-toggle"> <i class="icon-bookmark"></i> {$Think.lang.common_careers_manage} <b class="caret"></b></a>
                <ul class="dropdown-menu">
                    <li class=" App-Careers"><a href="__ADMIN__/Careers">{$Think.lang.common_careers}</a></li>
                    <li class=" App-Apply"><a href="__ADMIN__/Apply">{$Think.lang.common_apply}</a></li>
                </ul>
            </li>
            
            <li class="dropdown App-User App-Role App-Node">
                <a href="#" data-toggle="dropdown" class="dropdown-toggle"> <i class="icon-cog"></i> {$Think.lang.common_admin} <b class="caret"></b></a>
                <ul class="dropdown-menu">
                    <li class=" App-User"><a href="__ADMIN__/User">{$Think.lang.common_admin_user}</a></li>
                    <li class=" App-Role"><a href="__ADMIN__/Role">{$Think.lang.common_admin_user_goup}</a></li>
                    <li class=" App-Node"><a href="__ADMIN__/Node">{$Think.lang.common_admin_permissions}</a></li>
                </ul>
            </li>
            
            
        </ul>
        <!-- theme selector ends -->
        <ul class="nav pull-right">

            <li class="dropdown">
                <a href="#" data-toggle="dropdown" class="dropdown-toggle"><i class="icon-user"></i>&nbsp;{$username}&nbsp;<b class="caret"></b></a>
                <ul class="dropdown-menu">
                    <li><a href="__ADMIN__/Index/password"><i class="icon-lock"></i> {$Think.lang.common_edit}</a></li>
                    <li><a href="__ADMIN__/Index/logout"><i class="icon-off"></i> {$Think.lang.common_logout}</a></li>
                    <li class="divider"></li>
                    <li class="nav-header">{$Think.lang.common_last_login}<br />{$lastLoginTime|date="Y-m-d H:i:s",###}</li>
                </ul>
            </li>
            <li class="divider-vertical"></li>
            <li class="dropdown">
                <a href="#" data-toggle="dropdown" class="dropdown-toggle"><i class="icon-plane"></i>&nbsp;{$Think.lang.common_option} &nbsp;<b class="caret"></b></a>
                <ul class="dropdown-menu" id="actions">
                    <li><a data-value="classic" href="__ADMIN__/Index/clearSystemCache"  target="_blank"><i class="icon-refresh"></i> {$Think.lang.common_clear_cache}</a></li>
                    <li><a data-value="classic" href="{$Think.config.site_url}"  target="_blank"><i class="icon-share-alt"></i> {$Think.lang.common_homepage}</a></li>

                </ul>
            </li>
        </ul>


    </div>
</div>